package com.gzhryc.shared_device.oem.code.statistics.dao.models;

import com.gzhryc.common.NumberTools;

public class UserProfitSumMoneyData {

    private Long userId;
    private String userName;
    private String userPhone;
    private String dayDate;
    private Long orderMoney;
    private Integer incomeCount;
    private Long incomeMoney;
    private Integer refundCount;
    private Long refundMoney;
    private Integer historyRefundCount;
    private Long historyRefundMoney;

    public UserProfitSumMoneyData(){
        this.orderMoney = 0L;
        this.incomeCount = 0;
        this.incomeMoney = 0L;
        this.refundCount = 0;
        this.refundMoney = 0L;
        this.historyRefundCount = 0;
        this.historyRefundMoney = 0L;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getDayDate() {
        return dayDate;
    }

    public void setDayDate(String dayDate) {
        this.dayDate = dayDate;
    }
    public Long getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(Long orderMoney) {
        this.orderMoney = orderMoney;
    }

    public Integer getIncomeCount() {
        return incomeCount;
    }

    public void setIncomeCount(Integer incomeCount) {
        this.incomeCount = incomeCount;
    }

    public Long getIncomeMoney() {
        return incomeMoney;
    }

    public void setIncomeMoney(Long incomeMoney) {
        this.incomeMoney = incomeMoney;
    }

    public Integer getRefundCount() {
        return refundCount;
    }

    public void setRefundCount(Integer refundCount) {
        this.refundCount = refundCount;
    }

    public Long getRefundMoney() {
        return refundMoney;
    }

    public void setRefundMoney(Long refundMoney) {
        this.refundMoney = refundMoney;
    }

    public Integer getHistoryRefundCount() {
        return historyRefundCount;
    }

    public void setHistoryRefundCount(Integer historyRefundCount) {
        this.historyRefundCount = historyRefundCount;
    }

    public Long getHistoryRefundMoney() {
        return historyRefundMoney;
    }

    public void setHistoryRefundMoney(Long historyRefundMoney) {
        this.historyRefundMoney = historyRefundMoney;
    }

    public String getOrderMoneyStr(){
        return NumberTools.getMoneyLiStr(this.orderMoney);
    }

    public String getIncomeMoneyStr(){
        return NumberTools.getMoneyLiStr(this.incomeMoney);
    }

    public String getRefundMoneyStr(){
        return NumberTools.getMoneyLiStr(this.refundMoney);
    }

    public String getHistoryRefundMoneyStr(){
        return NumberTools.getMoneyLiStr(this.historyRefundMoney);
    }
}
